-- GENERATED SPELL FOR [Warp-Raider Nesaad] --


function spell0_19641(pUnit, Event) --@Energy Flux,Self--
pUnit:FullCastSpellOnTarget(35924,pUnit)
pUnit:RegisterEvent('Sorts_19641', 8000, 1)
end

function Sorts_19641(pUnit, Event)
local choix_sorts_19641 = math.random(0, 0)
if choix_sorts_19641 == 0 then
pUnit:RegisterEvent('spell0_19641', 1, 1)
end
end

function mob19641_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19641', math.random(1500, 3000), 1)
end

function mob19641_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19641_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19641_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19641, 1, 'mob19641_Action')
RegisterUnitEvent(19641, 2, 'mob19641_Leave')
RegisterUnitEvent(19641, 3, 'mob19641_Kill')
RegisterUnitEvent(19641, 4, 'mob19641_Die')
